﻿@using System.Threading
@using System.Web.Optimization
@using Abp.Timing
@using Abp.Web.Mvc.Extensions
@{
    SetAntiForgeryCookie();
}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="shortcut icon" href="~/favicon.ico">
    <title>BBDAS-MES</title>
    @Styles.Render("~/Bundles/vendor/css")
    @Styles.Render("~/Bundles/css")
    @*<style type="text/css">
            body,
            body.full-height-layout .wrapper,
            html {
                height: 100%;
            }
                body.full-height-layout .content-wrapper { /*使用multitabs的wrapper*/
                    height: calc(100% - 140px); /*减去网页header和footer的高度，AdminLTE的为140px*/
                }
        </style>*@
    <!-- View specific styles -->
    @RenderSection("styles", required: false)
    <script type="text/javascript">
        //This is used to get the application's root path from javascript. It's useful if you're running application in a virtual directory under IIS.
        var abp = abp || {}; abp.appPath = '@ApplicationPath';
    </script>
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
        <script src="@Url.Content("~/Scripts/others/html5shiv.js")"></script>
        <script src="@Url.Content("~/Scripts/others/respond.min.js")"></script>
    <![endif]-->

    @Scripts.Render("~/Bundles/vendor/js/top")
</head>
<body class="hold-transition skin-blue fixed sidebar-mini">
    @*@Html.Partial("_TopBar")

        <div class="container">
            @RenderBody()
        </div>*@
    <div class="wrapper">
        <!-- BEGIN HEADER -->
        <header class="main-header">
            <!-- BEGIN TOP NAVIGATION BAR -->
            @Html.Partial("_Header")
            <!-- END TOP NAVIGATION BAR -->
        </header>
        <!-- END HEADER -->
        <!-- Left side column. contains the logo and sidebar -->
        <aside class="main-sidebar">
            <section class="sidebar">
                <!-- BEGIN SIDEBAR -->
                @Html.Action("TopMenu", "Layout", new { activeMenu = ViewBag.ActiveMenu })
                <!-- END SIDEBAR -->
            </section>
        </aside>
        <!-- Content Wrapper. Contains page content -->
        <div id="content_wrapper" class="content-wrapper">
            <section class="content">
                @RenderBody()
            </section>
        </div>
        <!-- /.content-wrapper -->
        <!-- BEGIN FOOTER -->
        <footer class="main-footer">
            @Html.Partial("_Footer")
        </footer>
        <!-- END FOOTER -->
        <!-- Add the sidebar's background. This div must be placed
         immediately after the control sidebar -->
        <div class="control-sidebar-bg"></div>
    </div>
    @Scripts.Render("~/Bundles/vendor/js/bottom")
    @Scripts.Render("~/Bundles/js")
    <script>
        //Localizing momentjs
        moment.locale('@Thread.CurrentThread.CurrentUICulture.Name');
    </script>
    @Html.IncludeScript("~/Views/Shared/_Header.js")
    <!-- Dynamic scripts of ABP system (They are created on runtime and can not be bundled) -->
        <script src="~/api/AbpServiceProxies/GetAll?v=@(Clock.Now.Ticks)"></script>
        <script src="~/AbpScripts/GetScripts?v=@(Clock.Now.Ticks)" type="text/javascript"></script>
        <!-- SignalR scripts -->
        <script src="~/signalr/hubs"></script>
        @Html.IncludeScript("~/Abp/Framework/scripts/libs/abp.signalr.js")
    @*<script>
            var multitabs = $('#content_wrapper').multitabs();
        </script>*@
    <!-- View specific scripts -->
    @RenderSection("scripts", required: false)
</body>
</html>
